#include<stdio.h>
int main()
{
    int a[8]={0,1,0,1,0,1,0,1};
    int i;
    printf("at first,the number is:");
    for(i=0;i<8;i++)
    {
        printf("%d,",a[i]);
    }
    for(i=0;i<8;i++)
    {
        if((i+1)%2==0)
        {
            a[i]=0;
        }
        else
        {
            a[i]=1;
        }
    }
    printf("now,the number is:");
    for(i=0;i<8;i++)
    {
        printf("%d,",a[i]);
    }


return 0;
}